* {
            margin: 0;
            padding: 0;
}

a{ 
    text-decoration: none!important;
    font-size: 14px;
}
a:hover{
    text-decoration: none!important;
}
ul>li {
    list-style: none;
}
/* 头部开始 */
header {
    padding-bottom: 4px!important;
    margin: auto;
    width: 1200px;
}
.headerTop{
    /* overflow: hidden; */
    width: 100%;
    height: 81px;
    /* background-color: #00cf8c; */
}
/* logo */
.headerTop>img{
    width: 179.19px;
    height: 55px;
    float: left;
    margin: 22px 38px  0 0 ;;
}
/* 课程分类开始 */
#nav {
    float: left;
    width: 296px;
    position: relative;
    /* overflow: hidden; */

}

#courseId {
    
    position: absolute;
    background-color: white;
    top: 40px;
    left: 60px;
    padding: 0;
    width: 136px;
    font-size: 14px;
    display: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
    z-index: 10;
}

#courseId>li {
    /* color: rgba(0, 0, 0, .65); */
    padding: 5px 12px;
}
#courseId>li>a {
    
    display: block;
    
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, .65);
}
#courseId>li>a:visited{
    color: rgba(0, 0, 0, .65);
}
#courseId>li:hover {
    cursor: pointer;
    background-color: #e6fff3;
}
#courseId>li:hover>a{
color: #00cf8c!important;

}
#nav{
    margin-top: 30px;
    /* overflow: hidden; */
}
#nav>li {
    padding: 10px 30px 10px 0;
    float: left;
}
#nav>li>a{
    color: #00cf8c;
    font-size: 16px!important;
    color: black;
}
#nav>li:nth-child(1){
    position: relative;
}

#nav>li:nth-child(1)>a{
    box-sizing: border-box;
    color: #00cf8c;
        }
#nav>li:hover>a{
    color: #00cf8c;
    cursor: pointer;
}
/* 课程分类结束 */
/* 搜索 */
.searchText{
    float: left;
    margin-top: 30px;
}
.headerTop input{
    font-size: 16px;
    line-height: 19px;
    float: left;
    width: 317px;
    height: 38px;
    border-radius: 19px 0 0 19px;
    padding: 6px 11px;
    outline: none;
    outline-color: #00cf8c;
    box-sizing: border-box;
    border: 1px solid #ddd;
}
.headerTop button{
    float: left;
    font-size: 16px;
    line-height: 19px;
    box-sizing: border-box;
    background-color: #00cf8c;
    outline: none ;
    border: none;
    padding: 0 15px;
    width: 83px;
    height: 38px;
    border-radius: 0 19px 19px 0;
    color: white;
}
.icon-fangdajing:hover{
    color: white!important;
}

/* 搜索结束 */

/* 头部结束 */
/* 内容部分开始 */
main{
    padding-bottom: 20px;
    /* height: 800px; */
    background-color: white;
}
main>header{
    color: #888;
    padding: 12px 0;
    margin: auto;
    width: 1200px;
}
main>header a {
    font-size: 16px!important;
    color: #888;
}
main>header>span>a:hover{
    color: #0fc490;
}
/* 专题开始 */
main>main>header{
    margin: auto;
    width: 1200px;
}
main>main>header>section{
    margin-bottom: 2px;
}
.special,
.type,
.method{
    padding-top: 6px;
    overflow: hidden;
    display: flex;
    background-color: #f4f4f4;
}
.title{
    padding: 9px 0 0 9px;
    font-size: 16px;
    width: 5%;
}
main>main>header ul{
    padding-top: 4px;
    overflow: hidden;
    width: 95%;
}
main>main>header li{
    margin: 0 6px;
    padding: 6px 5px;
    float: left;
}
main>main>header li>a{
    color: black;
    font-size: 14px!important;
}
.type{
    background-color: #f4f4f4;
}
.method{
    background-color: #f4f4f4;
}
main>main  a:hover{
    color: black;
}

section>ul>li:hover{
    cursor: pointer;
}
/* 专题结束 */
/* 搜索内容开始 */
.classList{
    margin-top: -4px!important;
    margin: auto;
    width: 1200px;
}
.classList{
    margin: auto;
    width: 1200px;
}
.classList>ul{
    overflow: hidden;
}
.classList>ul>li{
    position: relative;
    padding: 8px;
    box-sizing: border-box;
    float: left;
    width: 240px;
}
.classList>ul>li>a:nth-child(2):hover{
    color: #00cf8c;
}
.classList>ul>li>a{
    color: black;
}
.classList>ul>li>a:visited{
    color: black;
}
.classList>ul>li>a:nth-child(1){
    margin-bottom: 8px;
    display: block;
    width: 100%;
    height: 112px;
    overflow: hidden;
}
/* 放大图片 */
.classList>ul>li>a:nth-child(1)>img{
    width: 125%;
    height: 125%;
    margin-left: -28px;
    margin-top: -14px;
    transform: scale(0.8,0.8);
    transition-duration: 0.5s;
}
.classList>ul>li>a:nth-child(1):hover>img{
    transform:none;
}
.classList>ul>li>a:nth-child(2){
    display: block;
    width: 100%;
    white-space:nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.classList>ul>li>span:nth-child(3){
    font-size: 14px;
    color: #888888;
}
.classList>ul>li>span:nth-child(5){
    font-size: 15px;
    color: #00CF8c;
}
.discount{
    padding: 2px 6px 0 6px;
    position: absolute;
    right: 14px;
    bottom: 10px;
    display: block;
    font-size: 12px;
    color: #fa8c16!important;
    background: #fff7e6;
    border: 1px solid #ffd591;
}
/* 搜索内容结束 */
/* 内容部分结束 */
/* 分页开始 */
.pagination{
    display: flex!important;
    width: 100%;
    justify-content: center;
}
.pagination>li{
    padding: 7px 11px;
    margin-right: 7px;
    border: 1px solid #aaa;
    color: black;
    
}

.pagination>li:hover{
    /* border-color:#23db9b;
    color: #23db9b; */
    cursor: pointer;
}
.pagination>.page:nth-child(2){
    border-color:#23db9b;
    color: #23db9b;
    /* cursor: pointer; */
}
/* 分页结束 */